package com.example.spring.bean.load02scan;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * 使用自定义的扫描组件
 * <p>
 * <p>
 */
@Configuration
@ComponentScan(
        includeFilters = {@ComponentScan.Filter(type = FilterType.CUSTOM, value = {CustomScanFilter.class})},
        useDefaultFilters = false
)
public class CustomConfig {
}
